package com.gopay.common.domain.dps;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Version;

import com.gopay.common.domain.BaseEntity;

/**
 * 钱包活动次数统计明细VO
 * 
 * @author ZHOUPENG
 * @date 2017年8月17日 上午11:34:01
 */
@Entity
@Table(name = "WA_ACTIVITY_COUNT_DETAIL")
public class WaActivityCountDetail extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 主键
	 */
	private String activityCountDetailId;
	/**
	 * 国付宝活动奖励交易号
	 */
	private String activityGopayOrderId;
	/**
	 * 国付宝交易号
	 */
	private String payGopayOrderId;
	/**
	 * 活动次数主表ID
	 */
	private String activityCountId;
	/**
	 * 客户ID
	 */
	private String custId;

	/**
	 * 活动管理ID
	 */
	private String activityId;
	/**
	 * 领取份数
	 */
	private Integer receiveDetailCount;
	/**
	 * 领取份数总金额
	 */
	private BigDecimal receiveDetailAmt;
	/**
	 * 乐观锁版本
	 */
	private Integer version;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 更新时间
	 */
	private Date updateTime;

	@Id
	@Column(name = "ACTIVITY_COUNT_DETAIL_ID")
	public String getActivityCountDetailId() {
		return activityCountDetailId;
	}

	public void setActivityCountDetailId(String activityCountDetailId) {
		this.activityCountDetailId = activityCountDetailId;
	}
	@Column(name = "ACTIVITY_GOPAY_ORDER_ID")
	public String getActivityGopayOrderId() {
		return activityGopayOrderId;
	}

	public void setActivityGopayOrderId(String activityGopayOrderId) {
		this.activityGopayOrderId = activityGopayOrderId;
	}

	@Column(name = "ACTIVITY_COUNT_ID")
	public String getActivityCountId() {
		return activityCountId;
	}

	public void setActivityCountId(String activityCountId) {
		this.activityCountId = activityCountId;
	}

	@Column(name = "CUST_ID")
	public String getCustId() {
		return custId;
	}

	public void setCustId(String custId) {
		this.custId = custId;
	}

	@Column(name = "ACTIVITY_ID")
	public String getActivityId() {
		return activityId;
	}

	public void setActivityId(String activityId) {
		this.activityId = activityId;
	}

	@Column(name = "RECEIVE_DETAIL_COUNT")
	public Integer getReceiveDetailCount() {
		return receiveDetailCount;
	}

	public void setReceiveDetailCount(Integer receiveDetailCount) {
		this.receiveDetailCount = receiveDetailCount;
	}

	@Column(name = "RECEIVE_DETAIL_AMT")
	public BigDecimal getReceiveDetailAmt() {
		return receiveDetailAmt;
	}

	public void setReceiveDetailAmt(BigDecimal receiveDetailAmt) {
		this.receiveDetailAmt = receiveDetailAmt;
	}

	@Version
	@Column(name = "VERSION")
	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	@Column(name = "CREATE_TIME")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name = "UPDATE_TIME")
	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Column(name = "PAY_GOPAY_ORDER_ID")
	public String getPayGopayOrderId() {
		return payGopayOrderId;
	}

	public void setPayGopayOrderId(String payGopayOrderId) {
		this.payGopayOrderId = payGopayOrderId;
	}
	
	

}
